.top-bar {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    box-sizing: border-box;
}

.logout-btn, .settings-btn {
    box-shadow: none !important;
    background: transparent !important;
    border: none !important;
    max-width: 30px !important;
}

.logout-btn i, .settings-btn i {
    font-size: 22px !important;
    color: black !important;
}

.sprite-container {
    display: none;
}

.reset-tip-container {
    display: flex;
    justify-content: center;
}

.reset-tip {
    font-size: 12px;
    color: #666;
    text-align: center;
}

.fixed-bottom-container {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    padding: 20px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.loader {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 80px;
    height: 80px;
    margin: -40px 0 0 -40px;
    border-radius: 50%;
    border: 8px solid rgba(45, 104, 196, 0.2);
    border-top-color: #2D68C4;
    animation: spin 1s linear infinite;
    z-index: -1;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.speed-display {
    width: 100%;
    text-align: center;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: -12px;
}

.HomePage {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.scrollable-content {
    flex: 1;
    overflow-y: auto;
    padding-bottom: 20px;
}

.settings-content {
    padding: 0 30px 30px 30px;
    width: 100%;
    box-sizing: border-box;
}

.settings-icon {
    object-fit: contain;
}

.ModelContainer {
    width: 100%;
    padding: 0 10px 10px 10px;
    box-sizing: border-box;
}

.dropdown-selector {
    border: 2px solid #ccc;
    width: 80%;
    box-sizing: border-box;
    appearance: none;
    background-image: url('/JetskiArmy/media/racer/caret-down-fill.svg');
    background-repeat: no-repeat;
    background-position: right 20px center;
}

#speedometer {
    position: relative;
    bottom: -30px;
}

.stopwatch-display-wrapper {
    display: flex;
    justify-content: center;
    width: 100%;
}

.stopwatch-display {
    font-family: 'DigitalClock', monospace;
    white-space: nowrap;
    text-align: left;
    display: inline-block;
    width: auto;
    min-width: 8ch;
    margin-left: 35px;
}

#timeTable {
    display: none;
}

.TimeTableContainer {
    width: 90%;
    padding: 10px;
    position: relative;
    margin: 0 auto;
}

.time-table {
    width: 100%;
    border-collapse: separate;
    table-layout: fixed;
}

.time-table th, .time-table td {
    border: 1px solid #ccc;
    text-align: center;
    vertical-align: middle;
    width: 25%;
    word-wrap: break-word;
}

.time-table th {
    background: none;
    border: none;
    color: black;
}

.time-table td {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.03);
    border-radius: 3px;
}

.reset-tip {
    position: relative;
    color: grey;
}

.home-button-container {
    position: relative;
    width: 90%;
    display: flex;
    justify-content: space-between;
    margin: 0 auto;
}

.btn-share, .btn-record, .btn-reset {
    font-weight: bold;
    max-width: 300px;
    width: 100%;
}

.btn-share {
    margin-right: 30px;
}

.btn-share:hover {
    color: white !important;
}

.btn-record {
    margin-left: 30px;
    background-color: green;
}

.btn-reset {
    background-color: transparent;
    color: #B22222;
    border: 2px solid #B22222;
}

.share-icon {
    filter: brightness(0) invert(1);
    position: relative;
}

@media (min-width: 0px) {
    .settings-icon {
        width: 40px;
    }

    .dropdown-selector {
        padding: 12px;
        font-size: 17px;
        border-radius: 8px;
        background-size: 20px;
        margin-top: 5px;
    }

    .stopwatch-display {
        font-size: 66px;
    }

    .TimeTableContainer {
        top: 40px;
    }

    .time-table {
        font-size: 12px;
        border-spacing: 15px;
    }

    .time-table td {
        padding: 12px 0px 12px 0px;
    }

    .time-table th {
        font-size: 13px;
        padding: 1px;
    }

    .fixed-bottom-container {
        padding: 15px;
        box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    }

    .scrollable-content {
        padding-bottom: 232px;
		width: 100%;
    }

    .home-button-container {
        bottom: 0;
    }

    .btn-share, .btn-record, .btn-reset {
        font-size: 15px;
    }

    .btn-reset {
        padding: 9px;
    }

    .btn-record, .btn-share  {
        padding: 10px;
    }

    .share-icon {
        width: 1rem;
        height: 1rem;
        top: 2px;
    }
}

@media (max-width: 429px) {
    .share-icon {
		display: none;
    }

    .btn-share {
		border-radius: 10px 0 0 10px !important;
    }

    .btn-record {
		border-radius: 0 10px 10px 0 !important;
    }
}